import { PORT2 } from "@/api/config/servicePort";
import http from "@/api/index";

export const login = (params: any) => {
  return http.post<any>(PORT2 + "/login", params);
};

export const getCode = (params: any) => {
  return http.post<any>(PORT2 + "/phone/code", params);
};

export const getGoodsList = (params: any) => {
  return http.get<any>(PORT2 + "/dish/list", params);
};
